Skip to content

Workspace: a switch of its own for ▶ (capability run) - #56

Merged
cedricvogel-leo merged 1 commit into
mainfrom
feature/run-switch
Nov 6, 2026
Merged

cedricvogel-leo merged 1 commit into
mainfrom
feature/run-switch

Conversation

@cedricvogel-leo

Copy link
Copy Markdown
Collaborator

For P34 C (the IDE's settings through the link): ▶ Run and «Tests» can now be on or off independently. The IDE part is glpython-edu.github.io#41.

  • New capability run (default on). With run: false, ▶ is hidden. While Python is busy for more than a moment (e.g. a hanging Tests run), the button still appears as ■ Stop, so a stuck program can always be stopped.
  • The other switches already existed: tests, visualization, repl (which hides only the REPL's input line; the console stays, and so does input()'s line when a program asks), export, coverage, listTree and tree.
  • Host commands (command: run) work regardless of the button.
  • README: the «Compact embeds» section lists the separate switches.

Checks: lint (the known warning only), build and test:protocol pass. The behaviour is covered by the IDE's browser checks in #41 (▶ without Tests, Tests without ▶).

Going live: no host changes until it sets run: false. The embed doesn't, and the IDE does only with link settings. A tag is needed for the IDE.

🤖 Generated with Claude Code

▶ Run and Tests can now be on or off independently (P34 C): run: false
hides ▶, except as ■ Stop while Python is busy (e.g. Tests). Default on,
so nothing changes for existing hosts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cedricvogel-leo
cedricvogel-leo merged commit d8c3c95 into main Nov 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant